import { createApp } from 'vue';
import App from './App.vue';
import 'amfe-flexible';
import {
        Button, Icon, Tab, Tabs, TreeSelect, Stepper, ActionBar,
        ActionBarIcon, ActionBarButton, Checkbox, CheckboxGroup, SubmitBar,
        ContactCard, Card, AddressList, AddressEdit, Form, Field, CellGroup
} from 'vant';
import router from './router/index';
import './common/css/base.less';
import store from "./store"

const app = createApp(App);

//vant库
app.use(Button)
        .use(Icon)
        .use(Form)
        .use(Field)
        .use(CellGroup)
        .use(Tab)
        .use(Tabs)
        .use(TreeSelect)
        .use(Stepper)
        .use(AddressEdit)
        .use(AddressList)
        .use(ActionBar)
        .use(ActionBarIcon)
        .use(Card)
        .use(ActionBarButton)
        .use(Checkbox)
        .use(SubmitBar)
        .use(ContactCard)
        .use(CheckboxGroup);


app.use(router);
app.use(store);
app.mount('#app');
